//
// Created by zhuyijun on 2021/9/22.
//

#include <iostream>
#include <sstream>
#include <string>

using namespace std;

int main() {
    string list = "It was a dark and stormy day, and the full moon glowed birlliantly";
    istringstream instr(list);
    string word;
    while (instr >> word) cout << word << endl;
    return 0;
}

